# -*- coding : utf_8 -*-
"""
=======================================
Time : 2025/4/13 19:59
Author : 田霄汉
Email : 522989570@qq.com
File : combat_class14.py
Project : pandas_demo
Function : 数据筛查
=======================================
"""
import pandas as pd
from config.setting import file_path
from utils.assert_data import AssertData

combat14_path = file_path['excel_path']+'/combat14.xlsx'
scores = pd.read_excel(io=combat14_path,
                       skiprows=3,
                       usecols='C:E')
# DataFrame也有两个轴，axis=0是从上到下，axis=1是从左到右
scores.apply(AssertData().score_invalidation, axis=1)
